#ifndef FONT_H
#define FONT_H

//typedef struct SDL_PixelFormat SDL_PixelFormat;


class Font
{
public:
	Font(void);
	~Font(void);
	// Load the font from the bmp file
	void Load(const char* pFileName, SDL_PixelFormat *pPixelFormat);

	// Draw a string
	void DrawString(SDL_Surface *pScreen, int iX, int iY, const char* pText, unsigned int uiColour );
	// Draw a character
	int DrawCharacter(SDL_Surface *pScreen, int iXStart, int iYStart, int iCharacter, unsigned int uiColour );

private:
	// Surface that contains the font
	SDL_Surface *m_pFontSurface;
	// Offset of character data per character
	int m_pFontOfs[256];
	// Width of character data per character
	int m_pFontWidth[256];
};

#endif
